package com.tjetc.domain;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Vaccination implements Serializable {
    @Serial
    private static final long serialVersionUID = 5767692663364389819L;
    private Integer id;

    private Integer newbornId;

    private int yimiaoId;

    private String doctorId;

    private Date jiezhongTime;

    public Vaccination(Integer newbornId, int yimiaoId, String doctorId) {
        this.newbornId = newbornId;
        this.yimiaoId = yimiaoId;
        this.doctorId = doctorId;
    }
}